class User():
    def __init__(self,first_name,last_name):
        self.first_name = first_name
        self.last_name = last_name
        self.login_attempts = 0
        
    def user_info(self):
        print(f'first name:{self.first_name};last name : {self.last_name}')
        
    def greet(self):
        print(f'Hello,{self.first_name} {self.last_name}')
    
    def increment_login_attempts(self):
        self.login_attempts += 1
    
    def reset_login_attempts(self):
        self.login_attempts = 0
        
user1 = User('anya','Ai')
user1.increment_login_attempts()
user1.increment_login_attempts()
user1.increment_login_attempts()
print(f'login_attempts:{user1.login_attempts}')

user1.reset_login_attempts()
print(f'login_attempts:{user1.login_attempts}')